/*
 * CS_DUNGEON_CLEAR_DETAIL_INFO.cpp
 *
 *  Created on: 2013. 5. 21.
 *      Author: the2
 */

#include "../../Command.h"

#include "../../User.h"

#include "../../NLogic/Space.h"
#include "../../NLogic/Battle.h"
//#include "../../NLogic/Level.h"

namespace ProjectZ { namespace NCommand {

void Command::CS_DUNGEON_CLEAR_DETAIL_INFO(User * pUser, ::Network::Packet * pPacket)
{
	NLogic::Space * pSpace = pUser->GetSpace();
	if (NULL == pSpace)
	{
		return;
	}

	if (false == pSpace->IsDungeon())
	{
		DEBUGLOG("CS_DUNGEON_CLEAR_DETAIL_INFO space is not single or party dungeion");
		return;
	}

	PREPARE_PACKET;

	::Network::Packet * pAck = pSpace->GetDungeonClearDetailInfoPacket();
	pUser->SendOneshotEncrypt(pAck);
}

} /*NCommand*/ } /*ProjectZ*/
